package com.zcase.usb;

public class KeyBoard implements USB {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public KeyBoard(String name) {
        this.name = name;
    }

    @Override
    public void connect() {
        System.out.println(name + "成功的接入了设备了~~~");
    }

    public void keyDown() {
        System.out.println(name + "输入：老铁，6666~~~~");
    }
}
